package cn.tedu.charging.order;

import cn.tedu.charging.order.dao.mapper.ChargingBillFailMapper;
import cn.tedu.charging.order.dao.mapper.ChargingBillSuccessMapper;
import cn.tedu.charging.order.pojo.po.ChargingBillSuccessPo;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class MapperCRUD {
    @Autowired
    private ChargingBillFailMapper chargingBillFailMapper;
    @Autowired
    private ChargingBillSuccessMapper chargingBillSuccessMapper;

    @Test
    public void crudTest(){
        ChargingBillSuccessPo chargingBillSuccessPo = new ChargingBillSuccessPo();
        chargingBillSuccessPo.setId(889999999);
        chargingBillSuccessPo.setBillId("9999999999");
        chargingBillSuccessMapper.insert(chargingBillSuccessPo);
    }
}
